package com.sgxy.wmservice.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sgxy.wmservice.entity.WmStoreGoods;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sgxy.wmservice.entity.vo.StoreGoodsVo;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author testjava
 * @since 2022-04-29
 */
public interface WmStoreGoodsService extends IService<WmStoreGoods> {

    IPage<StoreGoodsVo> selectPageVoList(Page<StoreGoodsVo> sgPage, WmStoreGoods wmStoreGoods);
    StoreGoodsVo getSGInfoById(String id);

    //新建库存
    Boolean addStoreGoods(WmStoreGoods wmStoreGoods);
    //更新库存数
    Boolean updateStockNum(WmStoreGoods wmStoreGoods);


}
